package com.fresh.bus.chat.domain;

import java.util.ArrayList;
import java.util.Date;

import org.springframework.data.redis.listener.ChannelTopic;
import org.springframework.data.redis.listener.Topic;

public class BusLine{

	private String name;
	private Integer delay;
	private Integer inteval;
	private ArrayList<Integer> stations;
	private Date schedule;
	
	public BusLine() {
	}

	public void setSchedule(Date schedule) {
		this.schedule = schedule;
	}

	public Date getSchedule() {
		return schedule;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getDelay() {
		return delay;
	}

	public void setDelay(Integer delay) {
		this.delay = delay;
	}

	public Integer getInteval() {
		return inteval;
	}

	public void setInteval(Integer inteval) {
		this.inteval = inteval;
	}

	public ArrayList<Integer> getStations() {
		return stations;
	}

	public void setStations(ArrayList<Integer> stations) {
		this.stations = stations;
	}
}
